from weiboRss import db
import uuid
from sqlalchemy_utils import UUIDType

class WeiboHot(db.Model):
    id = db.Column(UUIDType(binary=False), default=uuid.uuid4, primary_key=True)
    title = db.Column(db.String(200))
    url = db.Column(db.String(255))
    hotness = db.Column(db.String(10))
    def __str__(self):
        return "{}".format(self.title)
